# Location of the MACA Toolkit
MACA_PATH ?= /opt/maca

# Compiler
MXCC          := mxcc

# Internel flags
MXCCFLAGS     := -x maca

LIBS=-lmcToolsExt
#include dir
INCLUDEDIR=-I../../Common

################################################################################
# Target rules
all: soma

soma: soma.cpp
	$(MXCC) $(INCLUDEDIR) $(MXCCFLAGS) $< -o $@  $(LIBS) --maca-path=$(MACA_PATH)

run: soma
	./soma

clean:
	rm -rf soma soma.o
